<nz-tabset
  nzTabPosition="left"
  [(nzSelectedIndex)]="selectedIndex"
  (nzSelectChange)="selectTab([$event])"
>
  <nz-tab nzTitle="Ⅰ类">
    <nz-table #basicTable [nzData]="dataList" [nzPageSize]="7">
      <thead>
        <tr>
          <th>污染物</th>
          <th>检测值</th>
          <th>对标值</th>
          <th>类别</th>
          <th>编号</th>
          <th>定位到</th>
        </tr>
      </thead>
      <tbody>
        <tr *ngFor="let data of basicTable.data">
          <td>{{ data.cas_name }}</td>
          <td>{{ data.val }}</td>
          <td>{{ data.v1 }}</td>
          <td>{{ data.type }}</td>
          <td>{{ data.name }}</td>
          <td>
            <a>🗺 </a>
          </td>
        </tr>
      </tbody>
    </nz-table>
  </nz-tab>
  <nz-tab nzTitle="Ⅱ类">
    <nz-table #basicTable [nzData]="dataList" [nzPageSize]="7">
      <thead>
        <tr>
          <th>污染物</th>
          <th>检测值</th>
          <th>对标值</th>
          <th>类别</th>
          <th>编号</th>
          <th>定位到</th>
        </tr>
      </thead>
      <tbody>
        <tr *ngFor="let data of basicTable.data">
          <td>{{ data.cas_name }}</td>
          <td>{{ data.val }}</td>
          <td>{{ data.v2 }}</td>
          <td>{{ data.type }}</td>
          <td>{{ data.name }}</td>
          <td>
            <a>🗺 </a>
          </td>
        </tr>
      </tbody>
    </nz-table></nz-tab
  >
  <nz-tab nzTitle="Ⅲ类">
    <nz-table #basicTable [nzData]="dataList" [nzPageSize]="7">
      <thead>
        <tr>
          <th>污染物</th>
          <th>检测值</th>
          <th>对标值</th>
          <th>类别</th>
          <th>编号</th>
          <th>定位到</th>
        </tr>
      </thead>
      <tbody>
        <tr *ngFor="let data of basicTable.data">
          <td>{{ data.cas_name }}</td>
          <td>{{ data.val }}</td>
          <td>{{ data.v3 }}</td>
          <td>{{ data.type }}</td>
          <td>{{ data.name }}</td>
          <td>
            <a>🗺 </a>
          </td>
        </tr>
      </tbody>
    </nz-table>
  </nz-tab>
  <nz-tab nzTitle="Ⅳ类">
    <nz-table #basicTable [nzData]="dataList" [nzPageSize]="7">
      <thead>
        <tr>
          <th>污染物</th>
          <th>检测值</th>
          <th>对标值</th>
          <th>类别</th>
          <th>超标倍数</th>
          <th>编号</th>
          <th>定位到</th>
        </tr>
      </thead>
      <tbody>
        <tr *ngFor="let data of basicTable.data">
          <td>{{ data.cas_name }}</td>
          <td>{{ data.val }}</td>
          <td>{{ data.v4 }}</td>
          <td>{{ data.type }}</td>
          <td>{{ data.round }}</td>
          <td>{{ data.name }}</td>
          <td>
            <a>🗺 </a>
          </td>
        </tr>
      </tbody>
    </nz-table></nz-tab
  >
  <nz-tab nzTitle="Ⅴ类">
    <nz-table #basicTable [nzData]="dataList" [nzPageSize]="7">
      <thead>
        <tr>
          <th>污染物</th>
          <th>检测值</th>
          <th>对标值</th>
          <th>类别</th>
          <th>超标倍数</th>
          <th>编号</th>
          <th>定位到</th>
        </tr>
      </thead>
      <tbody>
        <tr *ngFor="let data of basicTable.data">
          <td>{{ data.cas_name }}</td>
          <td>{{ data.val }}</td>
          <td>{{ data.v4 }}</td>
          <td>{{ data.type }}</td>
          <td>{{ data.round }}</td>
          <td>{{ data.name }}</td>
          <td>
            <a>🗺 </a>
          </td>
        </tr>
      </tbody>
    </nz-table></nz-tab
  >
</nz-tabset>
